mFOAM-1.02: A compact version of the cellular event generator FOAM
نویسندگان
چکیده
The general-purpose self-adapting Monte Carlo (MC) event generator/simulator mFOAM (standing for mini-FOAM) is a new compact version of the FOAM program, with a slightly limited functionality with respect to its parent version. On the other hand, mFOAM is easier to use for the average user. This new version is fully integrated with the ROOT package, the C++ utility library used widely in the particle physics community. The internal structure of the code is simplified and the very valuable feature of the persistency of the objects of the mFOAM class is improved. With the persistency at hand, it is possible to record very easily the complete state of a MC simulator object based on mFOAM and ROOT into a disk-file at any stage of its use: just after object allocation, after full initialization (exploration of the distribution), or at any time during the generation of the long series of MC events. Later on the MC simulator object can be easily restored from the disk-file in the " ready to go " state. Objects of TFoam class can be used as a stand-alone solution to many everyday problems in the area of the Monte Carlo simulation, or as building blocks in large-scale MC projects, taking full advantage of the object-oriented technology and persistency. Title of the program: mFOAM (mini FOAM), version 1.02. At present mFOAM is distributed with the ROOT package (version 4.04 and later). Programming languages used: ANSI C++. High-speed storage required: Depends on the complexity of the problem. For the default 2000 cells it is about 25 MB while for 100,000 cells it allocates about 35 MB. These data are for running from CINT command line and include also memory consumption by CINT itself. No. of lines in combined program and test deck: mFOAM-1.02 2776 lines of C++ code. Nature of the physical problem: Monte Carlo integration or generation of unweighted (weight equals 1) events with a given probability distribution is a standard problem in many areas of research, ranging from high-energy physics to economy. In any library of general utilities it is highly desirable to include a general-purpose numerical tool (program) with the MC generation algorithm featuring the built-in capability of automatically adjusting generation procedure to an arbitrary pattern of singularities in the generated distribution. Our primary goal is the simulation of the differential distribution in the multiparticle Lorentz-invariant phase space for the purpose of comparison between Quantum Field …
منابع مشابه
Upgrade of the Cellular General Purpose Monte Carlo Tool Foam to Version 2.06
FOAM-2.06 is an upgraded version of FOAM, a general purpose, self-adapting Monte Carlo event generator. In comparison with FOAM-2.05, it has two important improvements. New interface to random numbers lets the user to choose from the three " state of the art " random number generators. Improved algorithms for simplical grid need less computer memory; the problem of the prohibitively large memor...
متن کاملFoam: A General Purpose Cellular Monte Carlo Event Generator†
A general purpose, self-adapting, Monte Carlo (MC) event generator (simulator) is described. The high efficiency of the MC, that is small maximum weight or variance of the MC weight is achieved by means of dividing the integration domain into small cells. The cells can be n-dimensional simplices, hyperrectangles or Cartesian product of them. The grid of cells, called “foam”, is produced in the ...
متن کاملEffects of Nanoclay on Cellular Morphology and Water Absorption Capacity of Poly(vinyl alcohol) Foam
The present work was aimed to examine the effects of incorporation of each of two different types of nanoclay, i.e. Cloisite Na+ and Cloisite 30B, into PVA foam on cellular morphology and water absorption capacity. Foam samples containing 0.0-10.0 wt% of each of the two types of nanoclay alone were prepared using mechanical foaming. Accordingly, PVA/organoclay/water suspensions were prepare...
متن کاملExperimental study on foamed sandy soil for EPBM tunnelling
Foam injection is becoming a standard conditioning agent when tunnelling with an earth-pressure balanced shield, resulting in an increasing interest in this technique. The technique is mostly based on empirical rules and experience. To be able to determine what foam and how may foam has to be injected for different soils, it is necessary to know the mechanical parameters of the foam-water-soil ...
متن کاملOptimised BNCT facility based on a compact D-D neutron generator
Background: Boron Neutron Capture Therapy (BNCT) is a very promising treatment for patients suffering gliobastoma multiforme, an aggressive type of brain cancer, where conventional radiation therapies fail. Thermal neutrons are suitable for the direct treatment of cancers which are located at near-tissue-surface deep-seated tumors need harder, epithermal neutron energy spectra. Materials and Me...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Computer Physics Communications
دوره 177 شماره
صفحات -
تاریخ انتشار 2007